package com.dmap.admin.service.backgroundv1;

import com.dmap.admin.controller.background.param.PermissionParam;
import com.dmap.admin.po.AdminPermissions;

import java.util.List;

/**
 * \* User: silent
 * \* Date: 08/12/17 Time: 11:02
 * \* Description:
 * \
 */
public interface PermissionService {

    AdminPermissions insert(PermissionParam param);

    AdminPermissions update(PermissionParam param);

    boolean delete(Long id);

    AdminPermissions selectById(Long id);

    List<AdminPermissions> selectAllPermission();

}